package com.wtwd.device.constant;

public interface Constant {
    long TOKEN_EXPIRE_TIME = 3 * 24 * 60 * 60;
    long AUTHCODE_EXPIRE_TIME = 15 * 60;
    long CAPTCHA_EXPIRE_TIME = 1 * 60;
    String HEADER_TOKEN_KEY = "access-token";
    int HH_TO_SS = 3600;
    int MM_TO_SS = 60;
    String DEFAULT_USER_NAME = "H-FIT";
    //一天的毫秒数
    int ONE_DAY_MILLISECOND =24*60*60*1000;

    //好友申请表消息状态 1:申请中，2：同意，3拒绝
    int FRIEND_STATE_APPLY = 1;
    int FRIEND_STATE_AGREE = 2;
    int FRIEND_STATE_REFUSE = 3;

    //邮箱末尾标识符
    String  EMAIL_FLAG="@";
    //模糊手机号,邮箱时替换的字符串
    String STR_REPLACE="*";

    //徽章是否获取(0,无权，1：有权)
    int MEDAL_OWN = 1;
    int MEDAL_NOOWN=0;



    //动态的设置表
    ThreadLocal<String> THREAD_LOCAL_TABLE = new ThreadLocal<>();

}
